﻿using System.ServiceModel;

namespace Coding4Fun.Cannon.Wcf
{
	// NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IShootService" in both code and config file together.
	[ServiceContract]
	public interface IShootService
	{
		[OperationContractAttribute(IsOneWay = true)]
		void Fire();

		[OperationContractAttribute(IsOneWay = true)]
		void FireByIndex(int index);

		[OperationContractAttribute(IsOneWay = true)]
		void FireMultiple(int count);

		[OperationContract]
		int GetFireIndex();

		[OperationContract]
		void ResetFireIndex();
	}
}
